package com.atgion.manager.mapper;

import com.atgion.spzx.model.entity.system.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SysPermissionMapper  extends BaseMapper<SysPermission> {
    @Delete("delete from sys_permission where menu_id=#{id}")
    void removeById(Long id);
}
